portableSql

Right Portable SQL Function

Syntax

Right as C (Text as C, NumberOfCharacters as N)

Arguments

TextCharacter

A field or value.

NumberOfCharactersNumeric

The number of characters to extract.

Returns

resultCharacter

Returns the specified number of rightmost characters from a string.

Description

Returns the specified number of rightmost characters from a string.

Discussion

The Right function extracts the specified number of rightmost characters from a string.

Right() function executed on the Northwind Access database
SELECT FIRST 1 Right(CompanyName,5) AS Expr1 FROM Customers
=kiste